package models

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ CusVisitorDetailsModel = (*customCusVisitorDetailsModel)(nil)

type (
	// CusVisitorDetailsModel is an interface to be customized, add more methods here,
	// and implement the added methods in customCusVisitorDetailsModel.
	CusVisitorDetailsModel interface {
		cusVisitorDetailsModel
	}

	customCusVisitorDetailsModel struct {
		*defaultCusVisitorDetailsModel
	}
)

// NewCusVisitorDetailsModel returns a model for the database table.
func NewCusVisitorDetailsModel(conn sqlx.SqlConn, c cache.CacheConf) CusVisitorDetailsModel {
	return &customCusVisitorDetailsModel{
		defaultCusVisitorDetailsModel: newCusVisitorDetailsModel(conn, c),
	}
}
